package org.netty.push.client.message.handler;

import org.netty.push.core.proto.ConnectResponseMsg;
import org.netty.push.core.proto.handler.AbstractConnectedResponseHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import io.netty.channel.ChannelHandlerContext;

public  class  ConnectedResponseHandler extends AbstractConnectedResponseHandler {
	private static Logger logger=LoggerFactory.getLogger(AbstractConnectedResponseHandler.class);

	@Override
	public void handle(ChannelHandlerContext ctx, ConnectResponseMsg msg) {
		logger.info(" the token is {}",msg.getDeviceToken());
	}
}
